package com.ophiux.micro.core.domain;

import com.ophiux.utils.common.DateUtil;

/**
 * 值对象
 * @author chenh
 *
 */
public class ValueObject {

	/**
	 *创建人
	 */
	private String CREATE_USER;

	/**
	 *创建时间
	 */
	private String CREATE_TIME;

	/**
	 *修改人
	 */
	private String OPERATION_USER;

	/**
	 *修改时间
	 */
	private String OPERATION_TIME;
	
	/**
	 * 设置操作信息
	 * @param oPERATION_USER
	 */
	public void setOperationInfo(String oPERATION_USER) {
		this.setOPERATION_USER(oPERATION_USER);
		this.setOPERATION_TIME(DateUtil.getCurDateStr());
	}
	
	/**
	 * 设置新增信息
	 * @param cREATE_USER
	 */
	public void setCreateInfo(String cREATE_USER) {
		this.setCREATE_USER(cREATE_USER);
		this.setCREATE_TIME(DateUtil.getCurDateStr());
	}

	public String getCREATE_USER() {
		return CREATE_USER;
	}

	public void setCREATE_USER(String cREATE_USER) {
		CREATE_USER = cREATE_USER;
	}

	public String getCREATE_TIME() {
		return CREATE_TIME;
	}

	public void setCREATE_TIME(String cREATE_TIME) {
		CREATE_TIME = cREATE_TIME;
	}

	public String getOPERATION_USER() {
		return OPERATION_USER;
	}

	public void setOPERATION_USER(String oPERATION_USER) {
		OPERATION_USER = oPERATION_USER;
	}

	public String getOPERATION_TIME() {
		return OPERATION_TIME;
	}

	public void setOPERATION_TIME(String oPERATION_TIME) {
		OPERATION_TIME = oPERATION_TIME;
	}
	
}
